package dao;
import java.util.ArrayList;

import model.AvailableDTO;
import model.BookingDTO;
import model.FacilityDTO;
import model.FacilitySearchbyTypeDTO;

public interface FacilityDAO {
	
	public void insertFacility(FacilityDTO facility) throws DAOException;
    public void updateFacility(FacilityDTO facility) throws DAOException;
    public void deleteFacility(FacilityDTO facility) throws DAOException;
	public ArrayList<FacilityDTO> findAllFacility() throws DAOException;
	public FacilityDTO findFacility(int facilityID) throws DAOException ;
	public ArrayList<FacilityDTO> searchAvailableFacilityByType(FacilitySearchbyTypeDTO fsdto)
			throws DAOException;
	public ArrayList<FacilityDTO> availableFacility(AvailableDTO booking) throws DAOException;

}


